package com.fishery.authority.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author hy
 * @since 2021-01-15
 */
@ApiModel(value="AuthorityUser对象", description="")
public class UserLoginVo {

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "验证码")
    private String code;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "UserVo{" +
                "phone='" + phone + '\'' +
                ", code='" + code + '\'' +
                '}';
    }

    public UserLoginVo() {
    }

    public UserLoginVo(String phone, String password, String code) {
        this.phone = phone;
        this.code = code;
    }
}
